﻿using System;

namespace SupDataSync.Model
{
    /// <summary>
    /// 数据同步结果
    /// </summary>
    [Serializable]
    public class SyncResultModel
    {

        /// <summary>
        /// 更新表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 更新成功否
        /// </summary>
        public bool? SyncSuccess { get; set; }

        /// <summary>
        /// 修改记录数
        /// </summary>
        public int? UpdateCount { get; set; }

        /// <summary>
        /// 插入记录数
        /// </summary>
        public int? InsertCount { get; set; }

        /// <summary>
        /// 更新结果说明
        /// </summary>
        public string SyncMsg { get; set; }
        /// <summary>
        /// 基础数据
        /// </summary>
        public SyncBaseModel vSyncBaseModel { get; set; }
        public SyncBusinessModel vSyncBusiness { get; set; }

    }
}
